//
//  PlayDetailView.h
//  Slice
//
//  Created by lanou on 16/6/20.
//  Copyright © 2016年 wangjinchao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RadioDetailModel.h"
#import "PlayerDetailTableViewCell.h"
#import "DownLoad.h"
#import "UIView YYHFrame.h"
typedef void(^playViewScrollViewBlock)(CGFloat offsetX);


@interface PlayDetailView : UIView<UITableViewDataSource, UITableViewDelegate>
//
@property (nonatomic, strong) UIScrollView *rootScrollView;
//显示类标的tableView
@property (nonatomic, strong) UITableView *tableView;
//显示专辑的imageView
@property (nonatomic, strong) UIImageView *imageView;
//现实当前播放的名称
@property (nonatomic, strong) UILabel *titleLable;

@property (nonatomic, strong)UIWebView *webView;

@property (nonatomic, strong) NSMutableArray *dataSource;

@property (nonatomic, strong) RadioDetailModel *currentModel;

@property (nonatomic, retain) NSIndexPath *indexPath;
//将当前的scrollView的偏移量给外界
@property (nonatomic, copy) playViewScrollViewBlock sendValue;

//初始化方法,传入所有歌曲
- (instancetype)initWithFrame:(CGRect)frame musicList:(NSMutableArray *)musicList;

@end
